package com.weixin.paleituo.eventbus;

/**
 * Author yichao
 * Time  2018/3/30 16:24
 * Dest  购物车事件
 */

public class ShopCartEvent {
    protected   int groupPosition;
    protected int childPosition;
    protected   boolean isCheck;

    public ShopCartEvent(int groupPosition, int childPosition, boolean isCheck) {
        this.groupPosition = groupPosition;
        this.childPosition = childPosition;
        this.isCheck = isCheck;
    }

    public int getGroupPosition() {
        return groupPosition;
    }

    public void setGroupPosition(int groupPosition) {
        this.groupPosition = groupPosition;
    }

    public int getChildPosition() {
        return childPosition;
    }

    public void setChildPosition(int childPosition) {
        this.childPosition = childPosition;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }
}
